<?php

//1. 跨域设置
header("Access-Control-Allow-Origin: *");
//2. 设置文件路径
$file = $_SERVER["DOCUMENT_ROOT"] . "/uploads/test_2023-11-23_16_59_58_676916.txt";
$content = file_get_contents($file);
echo $content;
